#define	_CRT_SECURE_NO_WARNINGS 1 

#include "Queue.h"

int main()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	QueuePush(&q, 5);

	while (QueueEmpty(&q) == 0)
	{
		printf("%d ", QueueFront(&q));
		QueuePop(&q);
	}
	printf("\n%d ", QueueSize(&q));
	//QueuePop(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	printf("\n%d ", QueueSize(&q));
	QueueDestroy(&q);
	printf("\n%d ", QueueSize(&q));
	return 0;
}